PaymentPlugins\WooCommerce\PPCP\Rest\Routes\CartShipping S

Total Complexity 47
Dependencies 9
Dependents 1
Total lines 352
Lines of code 207
Logical lines of code 88
Comment lines 105
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
is_intermediate_address_complete()
A
50 8 31
get_error_response()
S
51 5 30
update_shipping_address()
S
59 5 14
update_paypal_order()
S
54 4 20
update_shipping_methods()
S
59 4 14
validate_shipping_availability()
S
62 3 12
build_wallet_response()
S
57 2 16
update_cart_shipping_data()
S
68 3 8
validate_shipping_methods()
S
67 3 8
build_paypal_response()
S
62 2 11
build_response()
S
71 2 6
get_routes()
S
61 1 14
get_path()
S
82 1 3
handle_post_request()
S
69 1 7
recalculate_cart_totals()
S
72 1 6
add_shipping_hooks()
S
79 1 3
clear_cached_shipping_rates()
S
76 1 4